package com.gugee.tiktok.web.model.mysql;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.relational.core.mapping.Column;
import org.springframework.data.relational.core.mapping.Table;

import java.io.Serializable;

/**
 * @author yzz
 * @Date 2020-10-21 09:27:15
 */
@Data
@Table(value="challenge")
public class Challenge implements Serializable{

    private static final long serialVersionUID = 1L;
    /**
     *话题名称
     */
    @Column(value="cha_name")
    private String chaName;

    /**
     *话题ID
     */
    @Column(value="cid")
    private Long cid;

    /**
     *封面地址
     */
    @Column(value="cover_photo")
    private String coverPhoto;

    /**
     *
     */
    @Column(value="create_by")
    private String createBy;

    /**
     *
     */
    @Column(value="create_time")
    private Long createTime;

    /**
     *视频增量趋势记录
     */
    @Column(value="week_growth")
    private String weekGrowth;

    /**
     *话题描述
     */
    @Column(value="desc")
    private String desc;

    /**
     *主键
     */
    @Id
    @Column(value="id")
    private Long id;

    /**
     *是否商业
     */
    @Column(value="is_commerce")
    private Boolean isCommerce;

    /**
     *二维码
     */
    @Column(value="qr_code")
    private String qrCode;

    /**
     *国家
     */
    @Column(value="region")
    private String region;

    /**
     *分享地址
     */
    @Column(value="share_url")
    private String shareUrl;

    /**
     *top视频
     */
    @Column(value="top_videos")
    private String topVideos;

    @Column(value="type")
    private int type;

    /**
     *
     */
    @Column(value="update_by")
    private String updateBy;

    /**
     *
     */
    @Column(value="update_time")
    private Long updateTime;

    /**
     *参与人数
     */
    @Column(value="user_count")
    private Long userCount;

    /**
     *参与人数增量
     */
    @Column(value="user_growth")
    private Long userGrowth;

    /**
     *播放数
     */
    @Column(value="view_count")
    private Long viewCount;

    /**
     *播放增量
     */
    @Column(value="view_growth")
    private Long viewGrowth;

}